﻿@using System.Threading;
@using Trust.Casas.Web;

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title - My ASP.NET MVC Application</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    <script type="text/javascript">
        var CONSTANST = {
            appUrl: '@Url.Content("~/")',
            currentLanguage: '@Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName'
        }
    </script>
    @Styles.Render(BundleConfig.Styles.Site)
    @Styles.Render(BundleConfig.Styles.JqueryUi)
    
    @Scripts.Render(BundleConfig.Scripts.JQuery)
    @Scripts.Render(BundleConfig.Scripts.KnockOut)
    @Scripts.Render(BundleConfig.Scripts.Require)
    @Scripts.Render(BundleConfig.Scripts.Main)

    @Scripts.Render(BundleConfig.Scripts.Modernizer)
    @Scripts.Render(BundleConfig.Scripts.JQueryValidation)
    @Scripts.Render(BundleConfig.Scripts.JQueryUi)
    @Scripts.Render(BundleConfig.Scripts.Moment)
    
    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&languaje=es"></script>
</head>
<body>
    <header>
        <div class="content-wrapper">
            <div class="float-left">
                <p class="site-title">@Html.ActionLink("your logo here", "Index", "Home", new { area = "" }, null)</p>
            </div>
            <div class="float-right">
                <section id="login">
                    @Html.Partial("_LoginPartial")
                </section>
                <nav>
                    <ul id="menu">
                        <li>@Html.ActionLink("Home", "Index", "Home", new { area = "" }, null)</li>
                        <li>@Html.ActionLink("Admin", "Index", "EntityManipulator", new { area = "Admin" }, null)</li>
                    </ul>
                </nav>
            </div>
        </div>
    </header>
    <div id="body">
        @RenderSection("featured", required: false)
        <section class="content-wrapper main-content clear-fix">
            @RenderBody()
        </section>
    </div>
    <footer>
        <div class="content-wrapper">
            <div class="float-left">
                <p>&copy; @DateTime.Now.Year - My ASP.NET MVC Application</p>
            </div>
        </div>
    </footer>

    @RenderSection("scripts", required: false)
</body>
</html>
